<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style type="text/css">
		div {
			width: 100px;
			height: 100px;
			background-color: pink;
			/*animation: go 2s ease 0s 2;*/
			animation: go 5s infinite;
		}
		@keyframes go {
			/*from {
				transform: translate(0);
			}
			to {
				transform: translate(600px);
			}*/
			0% {  /*起始位置*/
				transform: translate3d(0, 0, 0);
			}
			25% {
				transform: translate3d(800px, 0, 0);
			}
			50% {
				transform: translate3d(800px, 400px, 0);
			}
			75% {
				transform: translate3d(0px, 400px, 0);
			}
			100% {  /*起始位置*/
				transform: translate3d(0, 0, 0);
			}
		}
	</style>
</head>
<body>
	<div></div>
</body>
</html>